1.2.1.8 Step-By-Step Instructions for creating Sample Wizard
╖ Create a folder to hold your project
╖ Create a new project
╖ Open the file WIZSTUB.PRG (located in the WZCOMMON folder), and save it as HTMSTART.PRG in your project's folder. Add the file to your wizard's project. This file should be set as your projects MAIN file (under the Project menu).
╖ Modify HTMSTART.PRG program as necessary.
╖ Create a subfolder called BMP in your project folder. Copy BMP files OPENTABL.BMP/MSK" and "NEWSORT.BMP/MSK" to that folder, and add those files to your project.
╖ Add the following files to your project:
\wzcommon\wzengine.prg
\wzcommon\wizard.vcx/vct
\wzcommon\wizctrl.vcx/vct
\wzsample\htmlwiz.h Set Exclude option for file.
\wzsample\htmlwiz.prg
\wzsample\bmps\opentabl.bmp/msk
\wzsample\bmps\newsort.bmp/msk
Note: wzsample\ represents your sample folder location.
╖ Create a new class called HTMLWizard based on the WizTemplate class in WIZARD.VCX. Save this to a new class library called HTMLWIZ.VCX, and add it to your project's folder.
╖ Modify the visual class HTMLWizard in HTMLWIZ.VCX with following changes.
╖ Set the INCLUDE file to HTMLWIZ.H.
╖ Add code to the INITSTEPS method with one line for each page (except the Finish page):
╖ THIS.AddStep()
╖ Add the FieldMover control to page 1.
╖ Add the SortMover control to page 2.
╖ Modify the class to use new wzengine and htmlwiz PRG files.
╖ Add Help file and topic links.
╖ Build Wizard and check for errors.
╖ Test Wizard by running APP from Program Doà menu.
╖ Update WIZARD.DBF table in \Wizards folder by adding new Wizard entry.